.toast {
    //  position: fixed;
    margin-bottom: calc(10px + env(safe-area-inset-bottom));

    border-radius: 1rem;
    width: calc(100vw - 30px);
    margin: 0px 15px;
    min-width: 20%;
    z-index: 99999;
    transform-origin: center center;

    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;

    width: calc(100% - 30px);
    padding: 15px;
    margin-bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: rgba(17, 17, 18, 0.04) 0 2px 4px, rgba(19, 20, 20, 0.06) 0 1px 1px;

    @media screen and (min-width: 930px) {
        z-index: 9999;

        width: auto;
        //left: 50%;
        // transform: translate(-50%, -10px);
    }

    &-icon {
        width: 2rem;
        height: 2rem;
        display: grid;
        place-content: center;
        font-size: 1.5rem;
    }

    &-text {
        flex-grow: 1;


        h3 {
            margin: 0;
            font-size: 1.25rem;
            font-weight: normal;
        }


    }

    button {

        margin-top: 1rem;

    }

    &.success {
        background-color: rgb(0, 173, 72);
    }

    &.danger {
        background-color: rgb(173, 35, 0);
    }
}